package com.cn.service.server.PartsManagement;


import com.cn.bean.vo.PartsManagement.EquipmentBasicInfo;
import com.cn.config.config.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EquipmentBasicInfoService {
    List<EquipmentBasicInfo> selectEquipmentBasicInfoAll();

    List<EquipmentBasicInfo> selectEquipmentBasicInfo(@Param("limit") int limit, @Param("page") int page, @Param("equipmentCode") String equipmentCode, @Param("equipmentName") String equipmentName);

    Result addEquipmentBasicInfo(@Param("structureId")int structureId,@Param("equipmentName") String equipmentName, @Param("responsiblePerson") int responsiblePerson, @Param("custodian") int custodian, @Param("user") int user, @Param("specificationModel") String specificationModel,
                                 @Param("supplier") String supplier, @Param("description") String description, @Param("storageLocation") String storageLocation, @Param("equipmentStatus") int equipmentStatus,@Param("equipmentType") int equipmentType,@Param("procedures") Integer procedures);

    Result deleteEquipmentBasicInfo(List<EquipmentBasicInfo> idList);

    Result upDateEquipmentBasicInfo(int structureId,@Param("ID") int ID, @Param("equipmentName") String equipmentName, @Param("responsiblePerson") int responsiblePerson, @Param("custodian") int custodian, @Param("user") int user, @Param("specificationModel") String specificationModel,
                                    @Param("supplier") String supplier, @Param("description") String description, @Param("storageLocation") String storageLocation, @Param("equipmentStatus") int equipmentStatus,@Param("equipmentType") int equipmentType,@Param("procedures") Integer procedures);
    List<EquipmentBasicInfo> selectEquipmentBasicInfoAuto1(@Param("limit") int limit, @Param("page") int page, @Param("equipmentCode") String equipmentCode, @Param("equipmentName") String equipmentName);


}
